package com.personal.website.lottery.web.service;

import com.personal.website.lottery.web.model.DoubleColorBall;
import com.personal.website.lottery.web.model.User;

import java.util.List;

/**
 * Created by Gavin on 2016/2/15.
 */
public interface DoubleColorBallService {
    public List<DoubleColorBall> getBalls(int num);

    public DoubleColorBall getLatestBall();

    List<DoubleColorBall> getDoubleColorBallLikeIssue(int issue, int limit);

    DoubleColorBall getBallById(int doubleColorBallId);

    boolean deleteDoubleColorBall(int doubleColorBallId);

    boolean updateDoubleColorBall(DoubleColorBall doubleColorBall);
}
